package com.apobates.forum.toro.test.core;

import java.time.LocalDateTime;

// 栏目作者
public class Author {
    private int id;
    private String nickname;
    private String mail;
    private String avatar;
    private long uid;
    private boolean signed;
    private LocalDateTime regDateTime;

    public Author(int id, String nickname, String mail, String avatar, long uid, boolean signed) {
        this.id = id;
        this.nickname = nickname;
        this.mail = mail;
        this.avatar = avatar;
        this.uid = uid;
        this.signed = signed;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public long getUid() {
        return uid;
    }

    public void setUid(long uid) {
        this.uid = uid;
    }

    public boolean isSigned() {
        return signed;
    }

    public void setSigned(boolean signed) {
        this.signed = signed;
    }

    public LocalDateTime getRegDateTime() {
        return regDateTime;
    }

    public void setRegDateTime(LocalDateTime regDateTime) {
        this.regDateTime = regDateTime;
    }
}
